package com.cr.sync.service.impl;

import com.cr.sync.domain.TbSyncOrganInfo;
import com.cr.sync.mapper.TbSyncOrganInfoMapper;
import com.cr.sync.service.ITbSyncOrganInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 远程数据-机构信息Service业务层处理
 * 
 * @author tang
 * @date 2025-08-29
 */
@Service
public class TbSyncOrganInfoServiceImpl implements ITbSyncOrganInfoService 
{

    @Resource
    private TbSyncOrganInfoMapper tbSyncOrganInfoMapper;

    @Override
    public int insertBatch(List<TbSyncOrganInfo> list) {
//        tbSyncOrganInfoMapper.deleteBatch(list);
        tbSyncOrganInfoMapper.insertBatch(list);
        return 1;
    }

}
